Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: print_log tasks keep reading after vm end #459

Merged
merged 1 commit into from
Nov 17, 2023
Merged

Conversation

olethanh
Copy link
Collaborator

@olethanh olethanh commented Nov 8, 2023

After the vm proc and the related stdout and stderr were closed the task keep trying to read them, creating a busy loop which wasted cpu.

Solution: end the task when the file descriptor is closed

@olethanh olethanh requested a review from hoh November 16, 2023 16:56
@hoh hoh enabled auto-merge November 17, 2023 09:03
@hoh
Copy link
Member

hoh commented Nov 17, 2023

Can you rebase this branch on main ?

After the vm proc and the related stdout and stderr were closed the task keep trying to read them, creating a busy loop
which wasted cpu.

Solution: end the task when the file descriptor is closed
@hoh hoh added this pull request to the merge queue Nov 17, 2023
@olethanh
Copy link
Collaborator Author

rebased

Merged via the queue into main with commit 7d2060e Nov 17, 2023
13 of 17 checks passed
@Psycojoker Psycojoker deleted the fix_print_logs branch July 24, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants